<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        /* a:link {
            color: red;
            text-decoration: none;
        }
        a:visited {
            color: slateblue;
        }
        a:hover {
            color: black;
        }
        a:active {
            color: springgreen;
        } */
        a {
            width: 300px;
            height: 100px;
            background-color: grey;
            color: black;
            text-decoration: none;
            display: block;
        }
        a:hover {
            color: dodgerblue;
            /* text-decoration: underline; */
        }
        input:focus {
            background-color: gold;
            color: grey;
        }
        div {
            width: 300px;
            height: 100px;
            display: inline;
        }
        p {
            width: 300px;
            height: 100px;
            display: inline-block;
        }
    </style>
</head>
<body>
    <a href="#" target="_blank">好好学习</a>
    <a href="#" target="_blank">天天向上</a>
    <div>你好</div>
    <div>你好</div>
    <p>dasdas</p>
    <p>dasdas</p>
    <p>dasdas</p>

    <input type="text"><input type="text"><input type="text">
</body>
</html>